<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.HtmlEntities</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.HtmlEntities";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.HtmlEntities.html" class="symbol">dil.HtmlEntities</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> very high.</p>
<dl>
<dt class="decl">struct <a class="symbol _struct" name="Entity" href="./htmlsrc/dil.HtmlEntities.html#L9" kind="struct" beg="9" end="13">Entity</a>; <a title="Permalink to this symbol" href="#Entity" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L9">#</a></dt>
<dd class="ddef">
<div class="summary">A named HTML entity.</div>
<dl>
<dt class="decl">char[] <a class="symbol _variable" name="Entity.name" href="./htmlsrc/dil.HtmlEntities.html#L11" kind="variable" beg="11" end="11">name</a>; <a title="Permalink to this symbol" href="#Entity.name" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L11">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">dchar <a class="symbol _variable" name="Entity.value" href="./htmlsrc/dil.HtmlEntities.html#L12" kind="variable" beg="12" end="12">value</a>; <a title="Permalink to this symbol" href="#Entity.value" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L12">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">Entity[] <a class="symbol _variable" name="namedEntities" href="./htmlsrc/dil.HtmlEntities.html#L16" kind="variable" beg="16" end="269">namedEntities</a>; <span class="attrs">[<span class="stc">static</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#namedEntities" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L16">#</a></dt>
<dd class="ddef">
<div class="summary">The table of named HTML entities.</div></dd>
<dt class="decl">uint <a class="symbol _function" name="stringToHash" href="./htmlsrc/dil.HtmlEntities.html#L271" kind="function" beg="271" end="279">stringToHash</a><span class="params">(char[] <em>str</em>)</span>; <a title="Permalink to this symbol" href="#stringToHash" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L271">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[] <a class="symbol _function" name="toString" href="./htmlsrc/dil.HtmlEntities.html#L281" kind="function" beg="281" end="288">toString</a><span class="params">(uint <em>x</em>)</span>; <a title="Permalink to this symbol" href="#toString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L281">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">char[] <a class="symbol _function" name="generateHashAndValueArrays" href="./htmlsrc/dil.HtmlEntities.html#L290" kind="function" beg="290" end="332">generateHashAndValueArrays</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#generateHashAndValueArrays" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L290">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">uint[] <a class="symbol _variable" name="hashes" href="./htmlsrc/dil.HtmlEntities.html#L337" kind="variable" beg="337" end="337">hashes</a>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#hashes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L337">#</a></dt>
<dd class="ddef">
<div class="summary">Table of hash values of the entities' names.</div></dd>
<dt class="decl">dchar[] <a class="symbol _variable" name="values" href="./htmlsrc/dil.HtmlEntities.html#L339" kind="variable" beg="339" end="339">values</a>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>, <span class="stc">const</span>]</span> <a title="Permalink to this symbol" href="#values" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L339">#</a></dt>
<dd class="ddef">
<div class="summary">Table of Unicode codepoints.</div></dd>
<dt class="decl">dchar <a class="symbol _function" name="entity2Unicode" href="./htmlsrc/dil.HtmlEntities.html#L347" kind="function" beg="347" end="365">entity2Unicode</a><span class="params">(char[] <em>entity</em>)</span>; <a title="Permalink to this symbol" href="#entity2Unicode" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L347">#</a></dt>
<dd class="ddef">
<div class="summary">Converts a named HTML entity into its equivalent Unicode codepoint.</div>
<p class="sec_header">Returns:</p>the entity's value or 0xFFFF if it doesn't exist.</dd>
<dt class="decl"><a class="symbol _unittest" name="unittest" href="./htmlsrc/dil.HtmlEntities.html#L367" kind="unittest" beg="367" end="376">unittest</a>; <a title="Permalink to this symbol" href="#unittest" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.HtmlEntities.html#L367">#</a></dt>
<dd class="ddef"></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:54 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>